package com.iwomy.secureplat.platform.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.iwomy.secureplat.common.core.util.R;
import com.iwomy.secureplat.platform.dto.BasicDeviceModelDTO;
import com.iwomy.secureplat.platform.entity.BasicDeviceModelEntity;
import com.iwomy.secureplat.platform.vo.BasicDeviceModelVO;

import java.util.List;


public interface BasicDeviceModelService extends IService<BasicDeviceModelEntity> {

	Page<BasicDeviceModelVO> getBasicDeviceModelPage(Page page,  BasicDeviceModelDTO basicDeviceModelDTO);

	BasicDeviceModelVO getDeviceModelById(Long id);

	R authorize(BasicDeviceModelDTO basicDeviceModelDTO);

	Page<BasicDeviceModelVO> getBasicDeviceStockPage(Page page,  BasicDeviceModelDTO basicDeviceModelDTO);

	List<BasicDeviceModelVO> getDeviceModelList(BasicDeviceModelEntity basicDeviceModel);

	List<BasicDeviceModelEntity> getAuthorizationModelList(BasicDeviceModelEntity basicDeviceModel);
}
